/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.inventario.modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * @author ctrosch
 */
@Embeddable
public class EstructuraTipoProductoPK implements Serializable {

    @Column(name = "STTTPI_TIPPRO", nullable = false, length = 6)
    private String tippro;
    @Column(name = "STTTPI_PREFIX", nullable = false, length = 20)
    private String prefix;
    @Column(name = "STTTPI_NRORUB", nullable = false, length = 20)
    private String nrorub;

    public EstructuraTipoProductoPK() {

    }

    public EstructuraTipoProductoPK(String tippro, String prefix, String nrorub) {
        this.tippro = tippro;
        this.prefix = prefix;
        this.nrorub = nrorub;
    }







}
